package com.ewo.mapper;

import com.ewo.entity.ApplicationPage.CustomerInformation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerInformationMapper {

    //查找所有用户
    public List<CustomerInformation> findAllCustomerInformation();

    //查找员工关联用户
    public List<CustomerInformation> findCustomerInformationByEmp(int empId);

    //查询单个用户信息
    public CustomerInformation findCustomerInformationByName(String name);
    //查询用户id查找单个用户信息
    public CustomerInformation findCustomerInformationByCid(int cid);

    //添加用户
    public int addCustomerInformation(CustomerInformation customerInformation);

}
